<?php
// +----------------------------------------------------------------------
// | 星数 [ xsframe赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2020~2023 https://www.xsframe.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed 星数PHP并不是自由软件，未经许可不能去掉xsframe相关版权
// +----------------------------------------------------------------------
// | Author: GuiHai <786824455@qq.com>
// +----------------------------------------------------------------------

$menu = [
    'article' => [
        'title'    => '文章',
        'subtitle' => '文章管理',
        'icon'     => 'icon-file-text-o',
        'items'    => [
            [
                'title' => '文章列表',
                'route' => 'index/main',
            ],
            [
                'title' => '文章分类',
                'route' => 'category/main',
            ],
        ]
    ],

    'sets' => [
        'title'    => '设置',
        'subtitle' => '设置管理',
        'icon'     => 'icon-cog',
        'items'    => [
            [
                'title' => '访问入口',
                'route' => 'cover',
            ],
            [
                'title' => '应用设置',
                'route' => 'module',
            ],
        ]
    ],
];
return $menu;